http://python.cs.byu.edu/yellow/vlib.html
Vlib is a library of image processing functions and vision tools developed in the Computer Science Department at Brigham Young University. Currently the routines include both C and C++ versions. A description of how to use the library is provided, as is the source code for all the routines and header files.